import axios from 'axios';
const http = axios.create({
    baseURL: `https://api.imooc-blog.lgdsunday.club/api`,
    timeout: 5000,
    headers: {
        Icode: '464EBE41D9A41B5D'
    }
})

http.interceptors.request.use(config => {

    return config;
})
http.interceptors.response.use(res => {
    
    return res.data;
})
export default http;